<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.12.1">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Emuteca: uEmutecaGameManager: Class cGameManager</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="cGameManager"></a><h1 class="cio">Class cGameManager</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td><a class="section"  href="#%40Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section"  href="#%40Methods">Methods</a></td><td><a class="section"  href="#%40Properties">Properties</a></td></tr></table>
<a name="%40Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="uEmutecaGameManager.html">uEmutecaGameManager</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type cGameManager = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
Manager of the games and groups (families).

<p>This entity manages the lists of games and <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Group">group</a> internally regaderless of the Form, GUI o interface used.

<p></p>

<dl class="paragraph_spacing">
  <dt>NOTE:</dt>
  <dd><p>Because PascalScript don't suport overloaded methods, we don't use them right here.</p></dd>
</dl>

<p></p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">cGameManager</li></ul><h2 class="overview">Overview</h2>
<a name="%40Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="uEmutecaGameManager.cGameManager.html#Create">Create</a></b>(const aSystemsFile: string; const aTempFolder: string; const aTempFile: string);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="uEmutecaGameManager.cGameManager.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#AddFile">AddFile</a></b>(aFolder: string; Info: TSearchRec): boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#AddGame">AddGame</a></b>(const aFolder: string; const aFileName: string; const aKey: string): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#AddGroup">AddGroup</a></b>(aGameGroupID: string): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#Execute">Execute</a></b>(aGame: <a   href="uEmutecaGame.cGame.html">cGame</a>): integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#Game">Game</a></b>(aGameKey: string): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GameAtPos">GameAtPos</a></b>(const aIndex: integer): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GameCount">GameCount</a></b>: longint;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GameMediaExists">GameMediaExists</a></b>(aFolder: string; aGameVersion: <a   href="uEmutecaGame.cGame.html">cGame</a>; Extensions: TStrings): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#Group">Group</a></b>(aGroupKey: string): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GroupAtPos">GroupAtPos</a></b>(const aIndex: integer): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GroupCount">GroupCount</a></b>: longint;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="uEmutecaGameManager.cGameManager.html#GroupMediaExists">GroupMediaExists</a></b>(aFolder: string; aGameGroup: <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>; Extensions: TStrings): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ChangeEmulator">ChangeEmulator</a></b>(const EmulatorName: string);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ChangeSystem">ChangeSystem</a></b>(const SystemName: string);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ExportGameData">ExportGameData</a></b>(const aFileName: string; const ExportMode: boolean);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ExportGameDataIni">ExportGameDataIni</a></b>(const aIniFile: TCustomIniFile; const ExportMode: boolean);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ImportGameData">ImportGameData</a></b>(const aFileName: string);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#ImportGameDataIni">ImportGameDataIni</a></b>(const aIniFile: TCustomIniFile);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#LoadSystemGameList">LoadSystemGameList</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#PurgeGameData">PurgeGameData</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SaveSystem">SaveSystem</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SaveSystemGameList">SaveSystemGameList</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SearchGameMedia">SearchGameMedia</a></b>(FileList: TStrings; aFolder: string; aGameVersion: <a   href="uEmutecaGame.cGame.html">cGame</a>; Extensions: TStrings);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SearchGroupMedia">SearchGroupMedia</a></b>(FileList: TStrings; aFolder: string; aGameGroup: <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>; Extensions: TStrings);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SearchMediaFiles">SearchMediaFiles</a></b>(FileList: TStrings; aFolder: string; aFileName: string; Extensions: TStrings);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#SoftUpdateGameList">SoftUpdateGameList</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#UpdateGameList">UpdateGameList</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="uEmutecaGameManager.cGameManager.html#UpdateGroupList">UpdateGroupList</a></b>;</code></td>
</tr>
</table>
<a name="%40Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#CompressedExt">CompressedExt</a></b>: TStringList read FCompressedExt;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#CRCMaxSize">CRCMaxSize</a></b>: cardinal read FCRCMaxSize write SetCRCMaxSize;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#Emulator">Emulator</a></b>: <a   href="uEmutecaEmulator.cEmulator.html">cEmulator</a> read FEmulator;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#EmulatorsFile">EmulatorsFile</a></b>: string read FEmulatorsFile write SetEmulatorsFile;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#GameDataFileExt">GameDataFileExt</a></b>: string read FGameDataFileExt
      write SetGameDataFileExt;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#GameList">GameList</a></b>: TFPObjectList read FGameList;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#GroupDataFileExt">GroupDataFileExt</a></b>: string
      read FGroupDataFileExt write SetGroupDataFileExt;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#GroupList">GroupList</a></b>: TFPObjectList read FGroupList;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#ProgressCallBack">ProgressCallBack</a></b>: <a   href="uEmutecaGameManager.html#TGMProgressCallBack">TGMProgressCallBack</a>
      read FProgressCallBack write SetProgressCallBack;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#System">System</a></b>: <a   href="uEmutecaSystem.cSystem.html">cSystem</a> read FSystem;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#SystemsFile">SystemsFile</a></b>: string read FSystemsFile write SetSystemsFile;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#TempFile">TempFile</a></b>: string read FTempFile write SetTempFile;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="uEmutecaGameManager.cGameManager.html#TempFolder">TempFolder</a></b>: string read FTempFolder write SetTempFolder;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const aSystemsFile: string; const aTempFolder: string; const aTempFile: string);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AddFile"></a><code>function <b>AddFile</b>(aFolder: string; Info: TSearchRec): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Add a file (or all files if it's a compressed archive) to the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> list.

<p>Automatically searchs if the file is a <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> using the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> extension filter.

<p>if the file is not in the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> extesion filter, this function search if the file is a compressed archive and adds every <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> found in it.

<p>This funtion is for <a class="normal"  href="uCHXFileUtils.html#IterateFolderObj">IterateFolderObj</a> use, if you want to add a <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> or <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Group">group</a> straight use <a class="normal"  href="uEmutecaGameManager.cGameManager.html#AddGame">AddGame</a>/<a class="normal"  href="uEmutecaGameManager.cGameManager.html#AddGroup">AddGroup</a>.

<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aFolder</dt>
<dd>Folder where the file is in.</dd>
<dt>Info</dt>
<dd>TSearchRec with the file info.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return"><code>False</code> =&gt; Abort.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AddGame"></a><code>function <b>AddGame</b>(const aFolder: string; const aFileName: string; const aKey: string): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Add a <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="AddGroup"></a><code>function <b>AddGroup</b>(aGameGroupID: string): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Add a <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Group">group</a>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Execute"></a><code>function <b>Execute</b>(aGame: <a   href="uEmutecaGame.cGame.html">cGame</a>): integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>Execute</code> a <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">Game</a>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Game"></a><code>function <b>Game</b>(aGameKey: string): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the <code>game</code> with have aGameKey key.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GameAtPos"></a><code>function <b>GameAtPos</b>(const aIndex: integer): <a   href="uEmutecaGame.cGame.html">cGame</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> at a position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GameCount"></a><code>function <b>GameCount</b>: longint;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the number of games.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GameMediaExists"></a><code>function <b>GameMediaExists</b>(aFolder: string; aGameVersion: <a   href="uEmutecaGame.cGame.html">cGame</a>; Extensions: TStrings): boolean;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Group"></a><code>function <b>Group</b>(aGroupKey: string): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> with have aGroupKey key.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GroupAtPos"></a><code>function <b>GroupAtPos</b>(const aIndex: integer): <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Group">group</a> at a position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GroupCount"></a><code>function <b>GroupCount</b>: longint;</code></td>
</tr>
<tr><td colspan="2">
<p>
Return the number of groups.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GroupMediaExists"></a><code>function <b>GroupMediaExists</b>(aFolder: string; aGameGroup: <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>; Extensions: TStrings): boolean;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ChangeEmulator"></a><code>procedure <b>ChangeEmulator</b>(const EmulatorName: string);</code></td>
</tr>
<tr><td colspan="2">
<p>
Change the current emultor.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ChangeSystem"></a><code>procedure <b>ChangeSystem</b>(const SystemName: string);</code></td>
</tr>
<tr><td colspan="2">
<p>
Change the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ExportGameData"></a><code>procedure <b>ExportGameData</b>(const aFileName: string; const ExportMode: boolean);</code></td>
</tr>
<tr><td colspan="2">
<p>
Export current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> list to a .ini file.

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ExportMode</dt>
<dd>If false saves some data for internal purpourses: times played, last time, total time,...</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ExportGameDataIni"></a><code>procedure <b>ExportGameDataIni</b>(const aIniFile: TCustomIniFile; const ExportMode: boolean);</code></td>
</tr>
<tr><td colspan="2">
<p>
Export current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> list to an already opened .ini file.

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ExportMode</dt>
<dd>Boolean. If false saves some data for internal purpourses: times played, last time, total time,...</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ImportGameData"></a><code>procedure <b>ImportGameData</b>(const aFileName: string);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ImportGameDataIni"></a><code>procedure <b>ImportGameDataIni</b>(const aIniFile: TCustomIniFile);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="LoadSystemGameList"></a><code>procedure <b>LoadSystemGameList</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Load the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> list (and groups).</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PurgeGameData"></a><code>procedure <b>PurgeGameData</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Removes al games and groups from the <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SaveSystem"></a><code>procedure <b>SaveSystem</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Save current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> configuration.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SaveSystemGameList"></a><code>procedure <b>SaveSystemGameList</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Save the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> list (and groups).</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SearchGameMedia"></a><code>procedure <b>SearchGameMedia</b>(FileList: TStrings; aFolder: string; aGameVersion: <a   href="uEmutecaGame.cGame.html">cGame</a>; Extensions: TStrings);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SearchGroupMedia"></a><code>procedure <b>SearchGroupMedia</b>(FileList: TStrings; aFolder: string; aGameGroup: <a   href="uEmutecaGroup.cGameGroup.html">cGameGroup</a>; Extensions: TStrings);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SearchMediaFiles"></a><code>procedure <b>SearchMediaFiles</b>(FileList: TStrings; aFolder: string; aFileName: string; Extensions: TStrings);</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SoftUpdateGameList"></a><code>procedure <b>SoftUpdateGameList</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="UpdateGameList"></a><code>procedure <b>UpdateGameList</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="UpdateGroupList"></a><code>procedure <b>UpdateGroupList</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="CompressedExt"></a><code>property <b>CompressedExt</b>: TStringList read FCompressedExt;</code></td>
</tr>
<tr><td colspan="2">
<p>
File extensions of compressed archives suported.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="CRCMaxSize"></a><code>property <b>CRCMaxSize</b>: cardinal read FCRCMaxSize write SetCRCMaxSize;</code></td>
</tr>
<tr><td colspan="2">
<p>
Max file size for calculate the CRC32 of the file.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Emulator"></a><code>property <b>Emulator</b>: <a   href="uEmutecaEmulator.cEmulator.html">cEmulator</a> read FEmulator;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current selected <code>emulator</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="EmulatorsFile"></a><code>property <b>EmulatorsFile</b>: string read FEmulatorsFile write SetEmulatorsFile;</code></td>
</tr>
<tr><td colspan="2">
<p>
Path of the file where <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Emulator">emulator</a> configurations are stored.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GameDataFileExt"></a><code>property <b>GameDataFileExt</b>: string read FGameDataFileExt
      write SetGameDataFileExt;</code></td>
</tr>
<tr><td colspan="2">
<p>
Extension used for files with <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Game">game</a> data.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GameList"></a><code>property <b>GameList</b>: TFPObjectList read FGameList;</code></td>
</tr>
<tr><td colspan="2">
<p>
Actual list where the games of the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> are stored.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GroupDataFileExt"></a><code>property <b>GroupDataFileExt</b>: string
      read FGroupDataFileExt write SetGroupDataFileExt;</code></td>
</tr>
<tr><td colspan="2">
<p>
Extension used for files with <a class="normal"  href="uEmutecaGameManager.cGameManager.html#Group">group</a> data.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GroupList"></a><code>property <b>GroupList</b>: TFPObjectList read FGroupList;</code></td>
</tr>
<tr><td colspan="2">
<p>
Actual list where the groups of the current <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> are stored.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ProgressCallBack"></a><code>property <b>ProgressCallBack</b>: <a   href="uEmutecaGameManager.html#TGMProgressCallBack">TGMProgressCallBack</a>
      read FProgressCallBack write SetProgressCallBack;</code></td>
</tr>
<tr><td colspan="2">
<p>
CallBack function to show the progress in actions.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="System"></a><code>property <b>System</b>: <a   href="uEmutecaSystem.cSystem.html">cSystem</a> read FSystem;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current loaded <code>system</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="SystemsFile"></a><code>property <b>SystemsFile</b>: string read FSystemsFile write SetSystemsFile;</code></td>
</tr>
<tr><td colspan="2">
<p>
Path of the file where <a class="normal"  href="uEmutecaGameManager.cGameManager.html#System">system</a> configurations are stored.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TempFile"></a><code>property <b>TempFile</b>: string read FTempFile write SetTempFile;</code></td>
</tr>
<tr><td colspan="2">
<p>
Temp file for... nothing. May be for export/import when updating.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TempFolder"></a><code>property <b>TempFolder</b>: string read FTempFolder write SetTempFolder;</code></td>
</tr>
<tr><td colspan="2">
<p>
Temp folder used for decompress and other dirty things.</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.12.1</a> on 2012-10-14 16:56:28</em>
</span>
</body></html>
